<template>
  <div>
    <input type="checkbox" value="科幻" v-model="leibie" />
    <span>科幻</span>
    <input type="checkbox" value="喜剧" v-model="leibie" />
    <span>喜剧</span>
    <input type="checkbox" value="动漫" v-model="leibie" />
    <span>动漫</span>
    <input type="checkbox" value="冒险" v-model="leibie" />
    <span>冒险</span>
    <input type="checkbox" value="科技" v-model="leibie" />
    <span>科技</span>
    <input type="checkbox" value="军事" v-model="leibie" />
    <span>军事</span>
    <input type="checkbox" value="娱乐" v-model="leibie" />
    <span>娱乐</span>
    <input type="checkbox" value="奇闻" v-model="leibie" />
    <span>奇闻</span>
    <ul>
      <li v-for="(val, index) in leibie" :key="index">{{ val }}</li>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {
      leibie: [],
    };
  },
};
</script>

<style>
</style>